package com.woniuxy.entity;

/**
 * @author 佘赛飞
 * @create 2021 -10 -03 1:51 PM
 */
public class City {
    private Integer cid;
    private  String cname;
    private  Province province;

    public City() {
    }

    public City(Integer cid, String cname, Province province) {
        this.cid = cid;
        this.cname = cname;
        this.province = province;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public Integer getCid() {
        return cid;
    }

    public String getCname() {
        return cname;
    }

    public Province getProvince() {
        return province;
    }

    @Override
    public String toString() {
        return "City{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", province=" + province +
                '}';
    }
}
